package familytree.yu.com.adminclient.api;

import familytree.yu.com.adminclient.entity.MemberEntity;

/**
 * @Author: yuyunbo
 * @Date: 2021/2/22 21:47
 * @Description:
 */
public interface MemberInfoClientApiService {

    /**
     * 根据用户名查询用户信息
     * @param userName
     * @return
     */
    MemberEntity queryByUserName(String userName);

    /**
     * 保存会员登录信息
     * @param memberEntity
     */
    void saveMemberInfo(MemberEntity memberEntity);

    /**
     * 更新会员信息
     * @param memberEntity
     */
    void updateMemberInfo(MemberEntity memberEntity);
}
